﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GWS.Entities;

namespace GWS.DAL
{
    public class AppointmentAccess
    {
        public static bool AddAppointment(Appointment appt)
        {
            int temp = SqlHelper.ExecuteNonQuery(Global.ConnectionString, "sprocAddAppointment",
                appt.PatientID, appt.DrID, appt.ApptTime, appt.ApptReason);
            if (temp > 0)
                return true;

            return false;
        }
    }
}
